<?php $this->pageTitle=Yii::app()->name . ' - ' .$error['code']; ?>
<h1>Error <?php echo $error['code']; ?></h1>
<h3>
<?
switch ($error['code']) {
    case 404:
        echo Yii::t('yii','The page that you are looking for have run away or have never existed.');
        break;
    default:
       echo "Default error code";
}

?>
</h3>
<b>You want to know why?</b>
<ul>
<li>Shit happens. Maybe something broke down... But thanks to you we allready know that.</li>
<li>Or you are trying to get something that isnt here.</li>
<li>Or Chuck Norris have just went in.</li>
</ul>
<br/>
<h1>If you have nothing else to do click <?php echo Html::link('here',array('/home')); ?></h1>

<?php echo $error['message']; ?>







